﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <title></title>
    <script src="../jquery-1.7.2.js"></script>
</head>
<body>
<script>


    (function() {

        var data = recData().Result;
        var tableValues = data.TableValues;
        var formIds = ["f61008b6-dfa3-4fbf-af42-aaaaaaaaaaaa", "f61008b6-dfa3-4fbf-af42-bbbbbbbbbbbb"];

        //增加
        var idx = 0;
        var itemId = "f61008b6-dfa3-4fbf-af42-cccccccccccc";
        formIds.push(itemId);
        formIds.splice(formIds.length - 1, 1);
        formIds.splice(idx + 1, 0, itemId);

        var arrCopy = $.extend(true, [], tableValues[0]);
        arrCopy[0].Id = 0;
        arrCopy[1].Id = 0;
        tableValues.splice(idx + 1, 0, arrCopy);


        //删除
        idx = 1;
        formIds.splice(idx, 1);
        tableValues.splice(idx, 1);





        var s = 5;

    })();






    function recData () {
       return {
            "Result": {
                "BaseValues": [
                    {
                        "Id": "cdbc5bb8-cf78-47f9-96c7-23bc4c4b600f",
                        "ElementId": "f61008b6-dfa3-4fbf-af42-402daab20943",
                        "ElementName": "发票号码",
                        "ElementCode": "FAPIAOHAOMA",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "00078101",
                        "CorrectValue": "00078101",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "bc90ee6d-4a3b-4825-851f-fcc94a68136d",
                        "ElementId": "09ec65ac-bbfb-4750-9daf-a23e39c1c214",
                        "ElementName": "发票代码",
                        "ElementCode": "FAPIAODAIMA",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "2200162160",
                        "CorrectValue": "2200162160",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "e0a8dc55-8f3e-47c1-9c97-c5e79266cf32",
                        "ElementId": "c9286dd0-ac44-40f8-b98c-5301c461e8d3",
                        "ElementName": "购买方名称",
                        "ElementCode": "GOUMAIFANGMINGCHENG",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "重庆长安汽车股份有限公司",
                        "CorrectValue": "重庆长安汽车股份有限公司",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "7752aae0-21de-4b65-ba5a-f6ceb851ef01",
                        "ElementId": "3478e62f-d0bc-4f39-b059-d96a6f73da89",
                        "ElementName": "购买方纳税人识别号",
                        "ElementCode": "MAIFANGNASHUIRENSHIBIEHAO",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "9150000020286320x6",
                        "CorrectValue": "9150000020286320x6",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "ce1fae6e-bd6a-4f83-8067-6452e8d8654d",
                        "ElementId": "7d7e2e31-0c0b-480f-b8ef-97a1c2acc502",
                        "ElementName": "购买方地址电话",
                        "ElementCode": "MAIFANGDIZHIDIANHUA",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "重庆市江北区建新东路260号023一67501751",
                        "CorrectValue": "重庆市江北区建新东路260号023一67501751",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "29ed6ecd-dc86-4f7c-b72a-9bbb2e356316",
                        "ElementId": "f66da786-7ed5-4f38-9643-f1fa6a95cd0d",
                        "ElementName": "买方开户行及帐号",
                        "ElementCode": "MAIFANGKAIHUHANGJIZHANGHAO",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "工行刘家台支行3100022409022101134",
                        "CorrectValue": "工行刘家台支行3100022409022101134",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "1e97eef7-ff28-4d88-bc29-f425a4280209",
                        "ElementId": "49944fd1-c898-499d-b609-7657bacb53ce",
                        "ElementName": "合计金额",
                        "ElementCode": "HEJIJINE",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "385707.55",
                        "CorrectValue": "385707.55",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "1083e8d5-2eb8-476f-9ccb-f77ff9ada131",
                        "ElementId": "95e45cc5-f2a3-427f-99c9-9b2a6cad1301",
                        "ElementName": "合计税额",
                        "ElementCode": "HEJISHUIE",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "325142.45",
                        "CorrectValue": "325142.45",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "c6f2431f-6f9d-48f8-bdbe-a053fb132ff6",
                        "ElementId": "ab1acf04-01d4-4aeb-87c6-e6bd756b10c4",
                        "ElementName": "价税合计",
                        "ElementCode": "JIASHUIHEJI",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "6390850.00",
                        "CorrectValue": "6390850.00",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "ae831004-9596-40f4-821c-7fdf187447ab",
                        "ElementId": "5de8db20-2b13-45a5-a113-a763fc1ac2fd",
                        "ElementName": "销售方名称",
                        "ElementCode": "XIAOSHOUFANGMINGCHENG",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "长眷孔辉汽车科技股份有限公司",
                        "CorrectValue": "长眷孔辉汽车科技股份有限公司",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "ee75aab2-b504-4ecc-a417-563d5aeaf13b",
                        "ElementId": "39ca1311-b171-475c-9ece-ebc6d84b7a2c",
                        "ElementName": "销售方纳税人识别号",
                        "ElementCode": "XIAOSHOUFANGNASHUIRENSHIBIEHAO",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "91220101661606042Q",
                        "CorrectValue": "91220101661606042Q",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "7ef8ce31-ecfd-4ff6-ba9d-e3a04ad06acb",
                        "ElementId": "eec070de-2223-4b9d-b67f-bb5e199d8e05",
                        "ElementName": "销售方地址电话",
                        "ElementCode": "XIAOSHOUFANGDIZHIDIANHUA",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "长群离靳开发区超达路517了号实验横0431~88608799",
                        "CorrectValue": "长群离靳开发区超达路517了号实验横0431~88608799",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "c604e24a-e21a-4678-8ece-65ac10ea0413",
                        "ElementId": "3d7caed9-1bc9-4d51-b5e0-a23b288d53aa",
                        "ElementName": "销售方开户行账号",
                        "ElementCode": "XIAOSHOUFANGKAIHUHANGZHANGHAO",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "交通银行长春阳光城支行221000668018010049258",
                        "CorrectValue": "交通银行长春阳光城支行221000668018010049258",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "6d4ea6e8-a3c0-4eea-8b1e-f87d4e0fa95d",
                        "ElementId": "69d070e8-e631-4e7b-ad1d-36118f18528a",
                        "ElementName": "开票人",
                        "ElementCode": "KAIPIAOREN",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "胡亚媚",
                        "CorrectValue": "胡亚媚",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "d86bd094-e9fc-4b87-8013-925c9f7324d9",
                        "ElementId": "f387d3d9-8fb3-4d0b-bb77-b506aa330110",
                        "ElementName": "复核",
                        "ElementCode": "FUHE",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": "‘王艳秋",
                        "CorrectValue": "‘王艳秋",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }, {
                        "Id": "1c3a3b70-6069-4238-b0c0-714a6a33bc8c",
                        "ElementId": "95d2b022-44b3-481c-b039-8325203382c7",
                        "ElementName": "收款人",
                        "ElementCode": "SHOUKUANREN",
                        "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                        "OcrModelCode": "1000",
                        "OcrValue": ".王帅帅",
                        "CorrectValue": ".王帅帅",
                        "RowNumber": null,
                        "CanBeQuoted": false,
                        "OrderId": "00000000-0000-0000-0000-000000000000",
                        "IsEdit": false
                    }
                ],
                "TableValues": [
                    [
                        {
                            "Id": "75bfd777-3302-4833-b07d-1cb65bae8567",
                            "ElementId": "475b905f-49d4-4c11-85ea-85db3df53bee",
                            "ElementName": "货物、服务、或劳务名称",
                            "ElementCode": "HUOWUFUWULAOWUMINGCHENG",
                            "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                            "OcrModelCode": "1000",
                            "OcrValue": "商用车底盘性能提升委外",
                            "CorrectValue": "商用车底盘性能提升委外",
                            "RowNumber": 1,
                            "CanBeQuoted": false,
                            "OrderId": "00000000-0000-0000-0000-000000000000",
                            "IsEdit": false
                        }, {
                            "Id": "a24c3c98-0fc4-4be7-b0bd-29eebc35267e",
                            "ElementId": "916c8ae6-84e0-43cf-98ad-4fbe4afe14b7",
                            "ElementName": "规格型号",
                            "ElementCode": "GUIGEXINGHAO",
                            "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                            "OcrModelCode": "1000",
                            "OcrValue": "v302’v”·气报户冲",
                            "CorrectValue": "v302’v”·气报户冲",
                            "RowNumber": 1,
                            "CanBeQuoted": false,
                            "OrderId": "00000000-0000-0000-0000-000000000000",
                            "IsEdit": false
                        }
                    ], [
                        {
                            "Id": "934c1812-d5df-4789-ae2a-b0fe53660524",
                            "ElementId": "475b905f-49d4-4c11-85ea-85db3df53bee",
                            "ElementName": "货物、服务、或劳务名称",
                            "ElementCode": "HUOWUFUWULAOWUMINGCHENG",
                            "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                            "OcrModelCode": "1000",
                            "OcrValue": "一八~泔~ :.叫即、·‘、哼宁.◆“一",
                            "CorrectValue": "一八~泔~ :.叫即、·‘、哼宁.◆“一",
                            "RowNumber": 2,
                            "CanBeQuoted": false,
                            "OrderId": "00000000-0000-0000-0000-000000000000",
                            "IsEdit": false
                        }, {
                            "Id": "b0b679e4-b654-4bd9-b127-6e6098553023",
                            "ElementId": "916c8ae6-84e0-43cf-98ad-4fbe4afe14b7",
                            "ElementName": "规格型号",
                            "ElementCode": "GUIGEXINGHAO",
                            "ImgId": "a709e3a9-75f1-457a-b149-6bda562cfd39",
                            "OcrModelCode": "1000",
                            "OcrValue": "’:成对蟹‘l",
                            "CorrectValue": "’:成对蟹‘l",
                            "RowNumber": 2,
                            "CanBeQuoted": false,
                            "OrderId": "00000000-0000-0000-0000-000000000000",
                            "IsEdit": false
                        }
                    ]
                ]
            },
            "AjaxResult": {
                "Message": "多语言键【识别成功】没有维护或在IIS缓存中不存在！",
                "Sucessed": true,
                "StatusSign": 0
            }
        };
    }
</script>
</body>
</html>